package cn.e4j.modular.system.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 参数表
 * </p>
 *
 * @author wenchuan.li
 * @since 2018-12-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("SYS_PARAMS")
public class SysParams extends PO<SysParams> {

    private static final long serialVersionUID = 1L;

    /**
     * 流水号
     */
    @TableField(fill = FieldFill.INSERT)
    @TableId(value = "ID", type = IdType.INPUT)
    private String ID;
    /**
     * 参数名称
     */
    private String NAME;
    /**
     * 参数键
     */
    private String CODE;
    /**
     * 参数值
     */
    private String VALUE;
    /**
     * 分组
     */
    private String GROUP_;
    /**
     * 备注
     */
    private String REMARK;


    @Override
    protected Serializable pkVal() {
        return this.ID;
    }

}
